package com.xhb.campusservices.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * 权限
 */
@Getter
public enum PermissionsEnum {
 /*   NORMAL(0,"正常"),
    LIMIT(1,"限制接单");*/
    正常(0,"正常"),
    限制接单(1,"限制接单");
    @EnumValue
    private Integer permissions;
    private String permissionsName;

    PermissionsEnum(Integer permissions, String permissionsName) {
        this.permissions = permissions;
        this.permissionsName = permissionsName;
    }
}
